﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200113F RID: 4415
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetClientRaidTargetCountScRsp : IMessage<SetClientRaidTargetCountScRsp>, IMessage, IEquatable<SetClientRaidTargetCountScRsp>, IDeepCloneable<SetClientRaidTargetCountScRsp>, IBufferMessage
	{
		// Token: 0x170037E8 RID: 14312
		// (get) Token: 0x0600C599 RID: 50585 RVA: 0x00215CBD File Offset: 0x00213EBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetClientRaidTargetCountScRsp> Parser
		{
			get
			{
				return SetClientRaidTargetCountScRsp._parser;
			}
		}

		// Token: 0x170037E9 RID: 14313
		// (get) Token: 0x0600C59A RID: 50586 RVA: 0x00215CC4 File Offset: 0x00213EC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetClientRaidTargetCountScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170037EA RID: 14314
		// (get) Token: 0x0600C59B RID: 50587 RVA: 0x00215CD6 File Offset: 0x00213ED6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetClientRaidTargetCountScRsp.Descriptor;
			}
		}

		// Token: 0x0600C59C RID: 50588 RVA: 0x00215CDD File Offset: 0x00213EDD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetClientRaidTargetCountScRsp()
		{
		}

		// Token: 0x0600C59D RID: 50589 RVA: 0x00215CE5 File Offset: 0x00213EE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetClientRaidTargetCountScRsp(SetClientRaidTargetCountScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.dKEPJDPEJKG_ = other.dKEPJDPEJKG_;
			this.progress_ = other.progress_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C59E RID: 50590 RVA: 0x00215D22 File Offset: 0x00213F22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetClientRaidTargetCountScRsp Clone()
		{
			return new SetClientRaidTargetCountScRsp(this);
		}

		// Token: 0x170037EB RID: 14315
		// (get) Token: 0x0600C59F RID: 50591 RVA: 0x00215D2A File Offset: 0x00213F2A
		// (set) Token: 0x0600C5A0 RID: 50592 RVA: 0x00215D32 File Offset: 0x00213F32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170037EC RID: 14316
		// (get) Token: 0x0600C5A1 RID: 50593 RVA: 0x00215D3B File Offset: 0x00213F3B
		// (set) Token: 0x0600C5A2 RID: 50594 RVA: 0x00215D43 File Offset: 0x00213F43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DKEPJDPEJKG
		{
			get
			{
				return this.dKEPJDPEJKG_;
			}
			set
			{
				this.dKEPJDPEJKG_ = value;
			}
		}

		// Token: 0x170037ED RID: 14317
		// (get) Token: 0x0600C5A3 RID: 50595 RVA: 0x00215D4C File Offset: 0x00213F4C
		// (set) Token: 0x0600C5A4 RID: 50596 RVA: 0x00215D54 File Offset: 0x00213F54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Progress
		{
			get
			{
				return this.progress_;
			}
			set
			{
				this.progress_ = value;
			}
		}

		// Token: 0x0600C5A5 RID: 50597 RVA: 0x00215D5D File Offset: 0x00213F5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetClientRaidTargetCountScRsp);
		}

		// Token: 0x0600C5A6 RID: 50598 RVA: 0x00215D6C File Offset: 0x00213F6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetClientRaidTargetCountScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.DKEPJDPEJKG == other.DKEPJDPEJKG && this.Progress == other.Progress && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C5A7 RID: 50599 RVA: 0x00215DC8 File Offset: 0x00213FC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.DKEPJDPEJKG != 0U)
			{
				num ^= this.DKEPJDPEJKG.GetHashCode();
			}
			if (this.Progress != 0U)
			{
				num ^= this.Progress.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C5A8 RID: 50600 RVA: 0x00215E39 File Offset: 0x00214039
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C5A9 RID: 50601 RVA: 0x00215E41 File Offset: 0x00214041
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C5AA RID: 50602 RVA: 0x00215E4C File Offset: 0x0021404C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Progress != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Progress);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this.DKEPJDPEJKG != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.DKEPJDPEJKG);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C5AB RID: 50603 RVA: 0x00215EC4 File Offset: 0x002140C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.DKEPJDPEJKG != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DKEPJDPEJKG);
			}
			if (this.Progress != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Progress);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C5AC RID: 50604 RVA: 0x00215F34 File Offset: 0x00214134
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetClientRaidTargetCountScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.DKEPJDPEJKG != 0U)
			{
				this.DKEPJDPEJKG = other.DKEPJDPEJKG;
			}
			if (other.Progress != 0U)
			{
				this.Progress = other.Progress;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C5AD RID: 50605 RVA: 0x00215F98 File Offset: 0x00214198
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C5AE RID: 50606 RVA: 0x00215FA4 File Offset: 0x002141A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					if (num != 96U)
					{
						if (num != 112U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.DKEPJDPEJKG = input.ReadUInt32();
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.Progress = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004F96 RID: 20374
		private static readonly MessageParser<SetClientRaidTargetCountScRsp> _parser = new MessageParser<SetClientRaidTargetCountScRsp>(() => new SetClientRaidTargetCountScRsp());

		// Token: 0x04004F97 RID: 20375
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004F98 RID: 20376
		public const int RetcodeFieldNumber = 12;

		// Token: 0x04004F99 RID: 20377
		private uint retcode_;

		// Token: 0x04004F9A RID: 20378
		public const int DKEPJDPEJKGFieldNumber = 14;

		// Token: 0x04004F9B RID: 20379
		private uint dKEPJDPEJKG_;

		// Token: 0x04004F9C RID: 20380
		public const int ProgressFieldNumber = 10;

		// Token: 0x04004F9D RID: 20381
		private uint progress_;
	}
}
